package com.openecommerce.api.domain;

import java.util.Date;
import java.util.List;

/**
 * 订单发货单类
 * 
 * @author exceed
 *
 */
public class OrderShipment {
	
	/* 订单发货单编号 */
	private Long shipmentId;
	/* 关联订单编号 */
	private Long orderId;
	/* 发货地址编号*/
	private Long shippingAddressId;
	/* 创建时间 */
	private Date createdAt;
	/* 最后一次修改时间 */
	private Date updatedAt;
	/* 发货总数量 */
	private Integer totalQty;
	/* 发货明细 */
	private List<OrderShipmentItem> items;
	/* 发货跟踪 */
	private List<OrderShipmentTrack> tracks;
	/* 发货备注 */
	private List<OrderShipmentComment> comments;
	
	public Long getShipmentId() {
		return shipmentId;
	}
	public void setShipmentId(Long shipmentId) {
		this.shipmentId = shipmentId;
	}
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public Long getShippingAddressId() {
		return shippingAddressId;
	}
	public void setShippingAddressId(Long shippingAddressId) {
		this.shippingAddressId = shippingAddressId;
	}
	public Date getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	public Date getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}
	public Integer getTotalQty() {
		return totalQty;
	}
	public void setTotalQty(Integer totalQty) {
		this.totalQty = totalQty;
	}
	public List<OrderShipmentItem> getItems() {
		return items;
	}
	public void setItems(List<OrderShipmentItem> items) {
		this.items = items;
	}
	public List<OrderShipmentTrack> getTracks() {
		return tracks;
	}
	public void setTracks(List<OrderShipmentTrack> tracks) {
		this.tracks = tracks;
	}
	public List<OrderShipmentComment> getComments() {
		return comments;
	}
	public void setComments(List<OrderShipmentComment> comments) {
		this.comments = comments;
	}
	
}
